<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Like-喜欢鲜花平台！让鲜花从农户到用户一步到位 </title>
    <meta name="keywords" content="喜欢婚礼,婚礼学堂,嘉田美合,婚礼图片,婚礼视频,婚礼VR,婚礼,婚庆"/>
    <meta name="description" content="喜欢婚礼平台,以婚礼机构为切入点，以婚礼用花为切入口，整合线下婚礼资源,鲜花,婚礼用品,舞美,人员等"/>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no,email=no,adress=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge chrome=1"/>
    <meta name="renderer" content="webkit">
    <link rel="icon" href="" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="../statics/css/cssinit.css"/>
    <style>
        header {
            padding-left: 35px;
            background-color: white;
            box-shadow: 0 1px 10px 0 lightgray;
        }

        input {
            width: 80%;
            height: 40px;
            line-height: 38px;
            font-size: 12px;
            color: black;
            padding-left: 40%;
            opacity: 0;
            -webkit-animation: moveFont 0.6s forwards;
            -o-animation: moveFont 0.6s forwards;
            animation: moveFont 0.6s forwards;
        }
        @keyframes moveFont {
            from{
                padding-left: 40%;
                width: 60%;
                opacity: 0;
            }
            to{
                padding-left: 0px;
                width: 100%;
                opacity: 1;
            }
        }
        @-webkit-keyframes moveFont {
            from{
                padding-left: 40%;
                width: 60%;
                opacity: 0;
            }
            to{
                padding-left: 0px;
                width: 100%;
                opacity: 1;
            }
        }
        @keyframes moveImg {
            from{
                left: 19%;
            }
            to{
                left:10px;
            }
        }
        @-webkit-keyframes moveImg {
            from{
                left: 19%;
            }
            to{
                left:10px;
            }
        }
        header img {
            height: 15px;
            width: 15px;
            position: absolute;
            left: 19%;
            top: 12px;
            -webkit-animation: moveImg 0.3s forwards;;
            -o-animation: moveImg 0.3s forwards;;
            animation: moveImg 0.3s forwards;;
        }

        header a:nth-child(3) {
            height: 40px;
            width: 60px;
            text-align: center;
            line-height: 40px;
            position: absolute;
            top: 0;
            right: 0px;
            color: #919191;
        }

        #ulli {
            margin-top: 15px;
        }

        #ulli ul li {
            background-color: whitesmoke;
            padding: 5px 10px;
            border-radius: 3px;
            float: left;
            margin-left: 15px;
        }
    </style>
</head>
<body>
<header>
    <a href="online.html" title="搜索"><img src="../statics/images/online/mag.png" alt="搜索"/></a>
    <input type="text" placeholder="龟背叶"/>
    <a href="javascript:void(0);" onclick="back()" title="取消">取消</a>
</header>
<div id="ulli">
    <ul>
        <li>龟背叶</li>
        <li>蓝绣球</li>
        <li>粉红雪山</li>
        <li>郁金香</li>
    </ul>
</div>
</body>
</html>
<script src="../statics/js/common.js"></script>
<script>
    window.onload = function() {
        var inputs = document.querySelector('header input');
        inputs.focus();
        inputs.onkeydown = function(e){
            if(e.keyCode == 13){
                var searchName = inputs.value;
                localStorage.setItem("searchName",searchName);
                window.location.href = "online.html?searchName="+searchName
            }
        }
        var lis = document.querySelectorAll("li");
        for(var i = 0; i < lis.length; i++){
            Tap(lis[i],function(e,dom){
                var toSearch = dom.innerHTML;
                localStorage.setItem("searchName",toSearch);
                window.location.href = "online.html?searchName="+toSearch;
            })
        }
    }
</script>